// Object.assign 复制源对象到目标对象并返回目标对象

const a = {
  name: 'cuvee',
  age: 30,
};

const b = {
  name: 'json',
};

const c = {
  age: 28,
};
const result = Object.assign(a, b, c);

console.log(result);

console.log(result === a);
